package com.gyc.dubbo.consumer.annotation;

import com.alibaba.dubbo.config.annotation.Reference;
import com.gyc.dubbo.provider.service.annotation.ProviderAnnotationService;
import org.springframework.stereotype.Component;

@Component
public class ConsumerAnnotationServiceImpl {

    @Reference
    ProviderAnnotationService providerAnnotationService;

    public String doSayHello(String word){
        return providerAnnotationService.sayHelloAnnotation(word);
    }

}
